﻿using MyX.Core;
using MyX.Message;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyX.Store
{    
    public interface XIEventRepository
    {
        IList<XEvent> FindForEntityID(Guid id);
        XEvent Find(Guid id);
        void Save(XEvent e);
    }

    public interface XICommandRepository
    {
        XCommand Find(Guid id);
        void Save(XCommand c);     
    }    
}
